Package com.netscape.certsrv.client
Class PKIConnection
java.lang.Object
com.netscape.certsrv.client.PKIConnection
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
org.mozilla.jss.ssl.SSLCertificateApprovalCallback
org.apache.http.impl.client.CloseableHttpClient
void
setCallback
(org.mozilla.jss.ssl.SSLCertificateApprovalCallback callback) void
void
storeEntity
(OutputStream out, org.apache.http.HttpEntity entity) void
storeRequest
(PrintStream out, org.apache.http.HttpRequest request) void
storeResponse
(PrintStream out, org.apache.http.HttpResponse response)
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
PKIConnection
- Throws:
Exception
-
-
Method Details
-
getConfig
-
getCallback
public org.mozilla.jss.ssl.SSLCertificateApprovalCallback getCallback() -
setCallback
public void setCallback(org.mozilla.jss.ssl.SSLCertificateApprovalCallback callback) -
getHttpClient
public org.apache.http.impl.client.CloseableHttpClient getHttpClient() -
storeRequest
- Throws:
IOException
-
storeResponse
public void storeResponse(PrintStream out, org.apache.http.HttpResponse response) throws IOException - Throws:
IOException
-
storeEntity
- Throws:
IOException
-
getTarget
-
getOutput
-
setOutput
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-